<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        html,body{
            height: 100%;
        }
        body{
            background-color: orange;
        }
        .rocket{
            position: absolute;
            left: 100px;
            top: 500px;
            height: 120px;
            transition: all 2s linear;
            transform: translate(-220px,400px) rotate(45deg);
        }
        body:hover .rocket{
            transform: translate(1400px,-500px) rotate(45deg);
        }
    </style>
</head>
<body>
    <img class="rocket" src="rocket.png" alt="">
</body>
</html>